<script type="text/javascript">
	$(document).ready(function(){
	});
</script>

<?php
  $filestring="your text string";
$findme  = 'kkk';
 
$pos = strpos($filestring, $findme);
 
// Note the use of ===.  Simply == would not work as expected
// because the position of 'a' was the 0th (first) character.
if ($pos == false) {
   echo "The string '$findme' was not found in the url '$filestring'";
} else {
   echo "The string '$findme' was found in the url '$filestring'";
   echo " and exists at position $pos";
}
?>
